beforeChange{ }
afterChange{
  WeldProxyClassLoadingDelegate.beginProxyRegeneration();
  try {
    final Set<ChangedClass> changedClasses=new HashSet<ChangedClass>(changed);
    for (    final ProxyFactory instance : proxyFactories.values()) {
      try {
        for (        final ChangedClass clazz : changedClasses) {
          if (bean.getTypes().contains(clazz.getChangedClass())) {
            Thread.currentThread().setContextClassLoader(bean.getBeanClass().getClassLoader());
    WeldProxyClassLoadingDelegate.endProxyRegeneration();
    Thread.currentThread().setContextClassLoader(oldCl);
}
addProxyFactory{
  proxyFactories.put(bean,factory);
}
